package com.wudi.estate.service.homemanage;

import com.wudi.estate.bean.homemanage.Home;

import java.util.List;

public interface HomeService {
    //查询全部房产
    List<Home> selectList() throws Exception;
    //根据编号查房产
    Home selectById(long id) throws Exception;

    void insertName(String hname)throws Exception;

    Home selectByName(String hname)throws Exception;

    void updateById(long hid,String hname)throws Exception;
}
